import React, {FC, useEffect} from 'react';

interface AuthWrapperProps {
}

const AuthWrapper: FC<AuthWrapperProps> = (props) => {
    const {children} = props;
    useEffect(() => {
        console.log('AuthWrapper 组件挂载完毕!');
    }, []);

    console.log('AuthWrapper 组件render!');
    return (
        <>{children}</>
    );
};

export default AuthWrapper;
